package cn.iocoder.yudao.module.im.controller.app.message.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotNull;

/**
 * 用户APP - 消息分页查询 VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户APP - 消息分页查询")
@Data
@EqualsAndHashCode(callSuper = true)
public class AppMessagePageReqVO extends PageParam {

    @Schema(description = "联系人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    @NotNull(message = "联系人ID不能为空")
    private Long toContactId;

    @Schema(description = "是否群聊", example = "0")
    private Integer isGroup;

}